package com.xdxc.service.serviceinterface;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xdxc.model.entity.ProcessedBatch;
import org.springframework.transaction.annotation.Transactional;

public interface ProcessedBatchService extends IService<ProcessedBatch> {
    boolean isProcessed(String batchId);

    @Transactional(rollbackFor = Exception.class)
    void markProcessed(String batchId, Long examId);
    // 如果有自定义业务方法，可以在这里定义
}